package com.posjiajia.user.core.po;

import java.io.Serializable;
import java.util.Date;

/**
 * 组织
 * Created by zhenhua.sun on 8/21/16.
 */
public class OrganPo implements Serializable {

    private Integer id;

    private Date createTime;

    private Date updateTime;

    private int version;

    /**
     * 组织号
     */
    private Integer organId;

    /**
     * 类型,1:公司 2:门店 3:普通组织
     */
    private int type;

    /**
     * 父组织号
     */
    private Integer parentOrganId;

    /**
     * 组织名
     */
    private String name;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public int getVersion() {
        return version;
    }

    public void setVersion(int version) {
        this.version = version;
    }

    public Integer getOrganId() {
        return organId;
    }

    public void setOrganId(Integer organId) {
        this.organId = organId;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public Integer getParentOrganId() {
        return parentOrganId;
    }

    public void setParentOrganId(Integer parentOrganId) {
        this.parentOrganId = parentOrganId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
